home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games Extra 1996 September
/
Amiga Games Extra CD-ROM 9-1996.iso
/
s
/
gnu-startup
< prev
next >
Wrap
Text File
|
1995-10-25
|
3KB
|
79 lines
; This script is executed from your S:User-Startup script in order to
; set up the GNU environment. All assigns are made relative to "GNU:",
; which has to be assigned prior to running this script. This would
; normally be done like:
;
; assign GNU: FreshFish-Vol10:GNU
; execute GNU:Sys/S/GNU-Startup
; Check to see if we have already run this script once, and if so, simply
; exit. We might try to run it more than once, if for example the user
; reruns the install script in order to change some metatool prefs.
if EXISTS ram:GNU-datestamp
skip END
else
date >ram:GNU-datestamp
endif
; Tools should search LOCAL: for files that may have been added to
; supplement the standard GNU environment, to account for the case
; where it is impossible to add these files directly to the GNU:
; tree (such as when it is located on a CD-ROM)
;
; If no LOCAL: is already defined, supply a default assignment to T:,
; which we know exists. This assignment can be overridden in the
; user's User-Startup script, either by defining it before calling
; this script, or redefining it afterwards.
assign LOCAL: exists >NIL:
if WARN
assign LOCAL: T:
endif
; Make assigns for GNU things, like general binaries, manual pages,
; info files, etc. We try to keep these to an absolute minimum!
assign BIN: GNU:bin
;assign ETC: GNU:etc
;assign INFO: GNU:info
;assign MAN: GNU:man
assign TMP: T:
path GNU:bin ADD
; Add various directories under GNU: that supplement the normal
; system logical defines, like "LIBS:", "L:", "DEV:", etc.
; We have to have C: in here if we want the Workbench to notice
; anything in BIN:, or have them available from any CLIs already
; running.
assign C: GNU:bin ADD
assign DEVS: GNU:Sys/Devs ADD
; assign LIBS: GNU:Sys/Libs ADD
assign L: GNU:Sys/L ADD
; assign S: GNU:Sys/S ADD
; Mount the ixpipe: device
mount IXPIPE: from DEVS:MountList.IXPIPE
; Install GNU Emacs version 18.59
; Assign GNUEmacs: so emacs can find it's files.
; Add the Useful/s dir to s: so various .emacs files can be found.
; Cancel any system supplied alias for emacs.
; Use the emacs specific shell since bin:sh (PD ksh) causes a crash
; when you try to use it under emacs.
;assign GNUemacs: GNU:lib/emacs/18.59
;assign S: GNU:Sys/S ADD (this is done earlier)
;unalias emacs
;setenv ESHELL GNUemacs:etc/sh
; Install Matt Dillon's fifo library, for emacs and others.
; Note that it must be able to find LIBS:fifo.library when run.
run <nil: >nil: GNU:Sys/L/fifo-handler
LAB END